﻿using ApplicationBase.Core.Email;
using Autofac;

namespace EmailService.WebAPI
{
    public class AppModule : Module
    {
        protected override void Load(ContainerBuilder builder)
        {
            builder.RegisterType<SMTPEmailService>().As<IEmailService>().InstancePerLifetimeScope();
        }
    }
}
